<html>
    <head>
        <title>Roles</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <?php echo link_tag('bootstrap/css/estilo.css') ?>
        <?php echo link_tag('bootstrap/css/bootstrap.min.css') ?>
        <?php echo link_tag('bootstrap/css/layout.css') ?>
    </head>
    
    <body>
        <fieldset>
            <div class="body" id="container">  
                    <section id="buttonGroups" style="visibility: <?php // echo $visible   ?>">
                        <div class="page-header">
                            <h1>Roles</h1>
                        </div>
                        <div class="row">
                            <div class="span8">
                                <?php // echo validation_errors(); ?>
                                <?php // echo form_open('http://192.168.0.103/CodeIgniter/index.php/rol/guardar') ?>

                                <form  name="form" class="form-horizontal"  method="POST" action="/simertweb/rol/guardar">
                                    <div class="control-group">
                                        <div class="controls">
                                            <?php echo form_error('ti'); ?>
                                             <label class="control-label" for="ncontraseña" name="ti">Tipo</label>
                                            <input type="text" class="input-xlarge" id="ti" name="ti" value="<?php echo set_value('ti'); ?>">
                                        </div>
                                        <br>
                                       
                                        <div class="controls">
                                            <?php echo form_error('privi'); ?>
                                             <label class="control-label" for="contraseñactual">Privilegios</label>
                                            <input type="text" class="input-xlarge" id="privi" name="privi" value="<?php echo set_value('privi'); ?>">
                                        </div>
                                    </div>

                                    <div class="form-actions" >
                                        <button  id="ok" name="ok" type="submit" class="btn btn-primary" > Guardar</button>
                                    </div>
                                </form>
                                
                            </div>
                        </div>
                    </section>     
            </div> 
        </fieldset>
    </body>
</html>
